Skip to content

Conversation

harshu4
Copy link
Contributor

@harshu4 harshu4 commented May 13, 2024

No description provided.

var result [][]byte
var othertx = [][]byte{}

log.Error("Sorting Done")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really an error or more like a debug comment?

var transaction types.Transaction
err := proto.Unmarshal(slice, &transaction)
if err != nil {
log.Error("Error unmarshaling transaction data:", err)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you really continue with the proposal if there is an error here? Shouldn't you return an error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants